🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / desktop / src / main / kotlin / org / meshtastic / desktop / ui / DesktopMainScreen.kt
Displaying Raw • Download
desktop/src/main/kotlin/org/meshtastic/desktop/ui/DesktopMainScreen.kt 9acdf5309f8f0ab96b30d6505bdac5e93a3bb72c (9acdf530) Text, 2.55 KB
T8b949e/*
* Copyright (c) 2025-2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.desktop.ui
Tff7b72import T7ee787androidx.compose.foundation.layout.fillMaxSize
Tff7b72import T7ee787androidx.compose.foundation.layout.padding
Tff7b72import T7ee787androidx.compose.material3.Surface
Tff7b72import T7ee787androidx.compose.runtime.Composable
Tff7b72import T7ee787androidx.compose.ui.Modifier
Tff7b72import T7ee787androidx.compose.ui.unit.dp
Tff7b72import T7ee787androidx.navigation3.runtime.NavKey
Tff7b72import T7ee787androidx.navigation3.runtime.entryProvider
Tff7b72import T7ee787org.meshtastic.core.navigation.MultiBackstack
Tff7b72import T7ee787org.meshtastic.core.ui.component.MeshtasticAppShell
Tff7b72import T7ee787org.meshtastic.core.ui.component.MeshtasticNavDisplay
Tff7b72import T7ee787org.meshtastic.core.ui.component.MeshtasticNavigationSuite
Tff7b72import T7ee787org.meshtastic.core.ui.viewmodel.UIViewModel
Tff7b72import T7ee787org.meshtastic.desktop.navigation.desktopNavGraph
T8b949e/**
* Desktop main screen — assembles the shared [MeshtasticAppShell], [MeshtasticNavigationSuite], and
* [MeshtasticNavDisplay] with the desktop-specific [desktopNavGraph] entry provider.
*/
Tf0883e@Composable
Tff7b72fun Td2a8ffDesktopMainScreenTb4b4b4(Te6edf3uiViewModelTb4b4b4: Te6edf3UIViewModelTb4b4b4, Te6edf3multiBackstackTb4b4b4: Te6edf3MultiBackstackTb4b4b4) Tb4b4b4{
Tff7b72val Te6edf3backStack Tff7b72= Te6edf3multiBackstackTb4b4b4.Te6edf3activeBackStack
Te6edf3SurfaceTb4b4b4(Te6edf3modifier Tff7b72= Te6edf3ModifierTb4b4b4.Te6edf3fillMaxSizeTb4b4b4(Tb4b4b4)Tb4b4b4) Tb4b4b4{
Te6edf3MeshtasticAppShellTb4b4b4(
Te6edf3multiBackstack Tff7b72= Te6edf3multiBackstackTb4b4b4,
Te6edf3uiViewModel Tff7b72= Te6edf3uiViewModelTb4b4b4,
Te6edf3hostModifier Tff7b72= Te6edf3ModifierTb4b4b4.Te6edf3paddingTb4b4b4(Te6edf3bottom Tff7b72= T79c0ff2T79c0ff4.Te6edf3dpTb4b4b4)Tb4b4b4,
Tb4b4b4) Tb4b4b4{
Te6edf3MeshtasticNavigationSuiteTb4b4b4(
Te6edf3multiBackstack Tff7b72= Te6edf3multiBackstackTb4b4b4,
Te6edf3uiViewModel Tff7b72= Te6edf3uiViewModelTb4b4b4,
Te6edf3modifier Tff7b72= Te6edf3ModifierTb4b4b4.Te6edf3fillMaxSizeTb4b4b4(Tb4b4b4)Tb4b4b4,
Tb4b4b4) Tb4b4b4{
Tff7b72val Te6edf3provider Tff7b72= Te6edf3entryProviderTff7b72<Te6edf3NavKeyTff7b72> Tb4b4b4{ Te6edf3desktopNavGraphTb4b4b4(Te6edf3backStackTb4b4b4, Te6edf3uiViewModelTb4b4b4) Tb4b4b4}
Te6edf3MeshtasticNavDisplayTb4b4b4(
Te6edf3multiBackstack Tff7b72= Te6edf3multiBackstackTb4b4b4,
Te6edf3entryProvider Tff7b72= Te6edf3providerTb4b4b4,
Te6edf3modifier Tff7b72= Te6edf3ModifierTb4b4b4.Te6edf3fillMaxSizeTb4b4b4(Tb4b4b4)Tb4b4b4,
Tb4b4b4)
Tb4b4b4}
Tb4b4b4}
Tb4b4b4}
Tb4b4b4}
Served by rngit 1.5.0 - Generated in 0.07s